<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>更新订单状态</title>
 <link rel="stylesheet" href="../loginServe/formStyle.css" />
</head>
 <% 
 String restaurant_name = request.getParameter("restaurant_name");
 String customer_name = request.getParameter("customer_name");
String meal_name = request.getParameter("meal_name");
String meal_price = request.getParameter("meal_price");
String num = request.getParameter("num");
%>
<body>
<div class="form-container">
<h1>更新订单状态</h1>
<form action="saveUpdateToCart.jsp?customer_name=<%=customer_name%>&restaurant_name=<%=restaurant_name %>" method="post">
    <label for="meal_name" >菜名：</label>
    <input type="text" id="meal_name" name="meal_name" value='<%=meal_name%>' readonly required><br><br>
    <label for="meal_price" >价格：</label>
    <input type="text" id="meal_price" name="meal_price" value='<%=meal_price%>' readonly required><br><br>
    <label for="cliEmail">数量：</label>
    <input type="text" id="num" name="num" value='<%=num%>' required><br><br>
    <input type="submit" value="更新订单">
</form>
</div>
</body>
</html>